package com.baseinfo.service;
import com.model.TInstitutions;
import javax.persistence.*;
import java.util.List;
import java.util.Map;
/**
* @author admin
* @date 
*/
public interface InstitutionsService{
    public TInstitutions saveOrupdate(TInstitutions modelParam);
    public TInstitutions save(TInstitutions modelParam);
    public List<TInstitutions> findAll(Map<String,Object> map);
    public TInstitutions findById(Long id);
    public void del(Long id);

    public Long getSearchSize(Map<String,Object> map);
    public List<TInstitutions> conditionsPage(Map<String,Object> map, Long start, Long length);
    public List<TInstitutions> searchPage(Long start,Long length);
    public Long getTotalSize();

}